package com.darling.danotebackend.controller;

import com.darling.danotebackend.common.BaseResponse;
import com.darling.danotebackend.common.ResultUtils;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author: Darling达
 * @Date: 2025-02-08 2025-02-08
 * @Description: 古之成大事者，不唯有超世之才，亦唯有坚韧不拔之志也！
 */

@RestController
@RequestMapping("/")
public class MainController {
    
    /**
     * 健康检查
     */
    @GetMapping("/health")
    public BaseResponse<String> health() {
        return ResultUtils.success("ok");
    }
    
    
}
